<template>
  <div>
    <el-descriptions title="基础信息"  border>
      <el-descriptions-item label="定点医药机构编号">{{
        info.fixmedinsCode
      }}</el-descriptions-item>
      <el-descriptions-item label="定点医药机构名称">{{
        info.fixmedinsName
      }}</el-descriptions-item>
      <el-descriptions-item label="推送类型">
        <dict-tag :options="dict.type.yy_push_types" :value="info.sourceType"
      /></el-descriptions-item>
      <el-descriptions-item label="医院类型">{{
        info.hospitalSourceType
      }}</el-descriptions-item>
      <el-descriptions-item label="处方类型"
        ><dict-tag
          :options="dict.type.yy_prescription_types"
          :value="info.prescriptionType"
      /></el-descriptions-item>
      <el-descriptions-item label="推送状态">
        <dict-tag :options="dict.type.yy_push_status" :value="info.status"
      /></el-descriptions-item>
    </el-descriptions>
  </div>
</template>

<script>
import { getBasics } from "@/api/pr/basics";

export default {
  name: "Basics",
  dicts: ["yy_prescription_types", "yy_push_types", "yy_push_status"], 
  data() {
    return {
      info: {},
    };
  },
  created() {},
  methods: {
    getdDetail(id) {
      getBasics(id).then((response) => { 
        this.info = response.data;
      });
    },
  },
};
</script>
